Inserts a new item to the cache store.
id
A System.String that uniquely identifies the cache item to be added.
data
An array of System.Byte representing the item data.
priority
The relative precedence of the cache item expressed by System.Web.Caching.CacheItemPriority. Items with lower cache priority will be removed before items with higher priority.
dependency
A System.String to item that will be deleted when the added cache item is deleted.
This method will always try to insert the cache item without checking if the item exists. If the item already exists in the cache the behavior of this method depends of the implementation object of the Leadtools.Medical.Caching.Storage.IStorageProvider interface.
Use the Add(string,byte[],cacheitempriority) method to check if the item exists in the cache before inserting the item.